
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>展示类 · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="SELECT.html" />
    
    
    <link rel="prev" href="BASIC.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    前言
            
                </a>
            

            
        </li>
    

    
        
        <li class="divider"></li>
        
        
    
        <li class="chapter " data-level="2.1" >
            
                <span>
            
                    
                    应用
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.1.1" data-path="../APPS/LOCALE.html">
            
                <a href="../APPS/LOCALE.html">
            
                    
                    国际化
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.2" data-path="../APPS/EXTENDED.html">
            
                <a href="../APPS/EXTENDED.html">
            
                    
                    快速介入
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.3" data-path="../APPS/STYLE.html">
            
                <a href="../APPS/STYLE.html">
            
                    
                    样式规划
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.4" data-path="../APPS/NAVG.html">
            
                <a href="../APPS/NAVG.html">
            
                    
                    导航模式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.5" data-path="../APPS/TEMP.html">
            
                <a href="../APPS/TEMP.html">
            
                    
                    临时模式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.6" data-path="../APPS/Theme.html">
            
                <a href="../APPS/Theme.html">
            
                    
                    应用主题
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.7" data-path="../APPS/NAVPARAM.html">
            
                <a href="../APPS/NAVPARAM.html">
            
                    
                    自定义导航参数
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.8" data-path="../APPS/VIEWMESSAGE.html">
            
                <a href="../APPS/VIEWMESSAGE.html">
            
                    
                    视图消息
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.2" >
            
                <span>
            
                    
                    视图
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.2.1" data-path="../VIEWS/EDITVIEW.html">
            
                <a href="../VIEWS/EDITVIEW.html">
            
                    
                    实体编辑视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.2" data-path="../VIEWS/EDITVIEWPAGE.html">
            
                <a href="../VIEWS/EDITVIEWPAGE.html">
            
                    
                    实体编辑视图(分页关系)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.3" data-path="../VIEWS/EDITVIEWUPDOWN.html">
            
                <a href="../VIEWS/EDITVIEWUPDOWN.html">
            
                    
                    实体编辑视图(上下关系)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.4" data-path="../VIEWS/EDITVIEWABOUT.html">
            
                <a href="../VIEWS/EDITVIEWABOUT.html">
            
                    
                    实体编辑视图(左右关系)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.5" data-path="../VIEWS/MEDITVIEW.html">
            
                <a href="../VIEWS/MEDITVIEW.html">
            
                    
                    实体多表单编辑视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.6" data-path="../VIEWS/GRIDVIEW.html">
            
                <a href="../VIEWS/GRIDVIEW.html">
            
                    
                    实体表格视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.7" data-path="../VIEWS/GRIDEXPVIEW.html">
            
                <a href="../VIEWS/GRIDEXPVIEW.html">
            
                    
                    实体表格导航视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.8" data-path="../VIEWS/TABEXPVIEW.html">
            
                <a href="../VIEWS/TABEXPVIEW.html">
            
                    
                    实体分页导航视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.9" data-path="../VIEWS/EntityDataKanbanView.html">
            
                <a href="../VIEWS/EntityDataKanbanView.html">
            
                    
                    实体数据看板视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.10" data-path="../VIEWS/LISTVIEW.html">
            
                <a href="../VIEWS/LISTVIEW.html">
            
                    
                    实体列表视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.11" data-path="../VIEWS/LISTEXPVIEW.html">
            
                <a href="../VIEWS/LISTEXPVIEW.html">
            
                    
                    实体列表导航视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.12" data-path="../VIEWS/DATAVIEW.html">
            
                <a href="../VIEWS/DATAVIEW.html">
            
                    
                    实体数据视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.13" data-path="../VIEWS/OPTIONVIEW.html">
            
                <a href="../VIEWS/OPTIONVIEW.html">
            
                    
                    实体选项操作视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.14" data-path="../VIEWS/DATAVIEWEXPVIEW.html">
            
                <a href="../VIEWS/DATAVIEWEXPVIEW.html">
            
                    
                    实体卡片导航视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.15" data-path="../VIEWS/CALENDARVIEW.html">
            
                <a href="../VIEWS/CALENDARVIEW.html">
            
                    
                    实体日历视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.16" data-path="../VIEWS/DAREXPVIEW.html">
            
                <a href="../VIEWS/DAREXPVIEW.html">
            
                    
                    实体日历导航视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.17" data-path="../VIEWS/TREEVIEW.html">
            
                <a href="../VIEWS/TREEVIEW.html">
            
                    
                    实体树视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.18" data-path="../VIEWS/TREEEXPVIEW.html">
            
                <a href="../VIEWS/TREEEXPVIEW.html">
            
                    
                    实体树导航视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.19" data-path="../VIEWS/TREEGRIDEXVIEW.html">
            
                <a href="../VIEWS/TREEGRIDEXVIEW.html">
            
                    
                    实体树表格视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.20" data-path="../VIEWS/INDEXVIEW.html">
            
                <a href="../VIEWS/INDEXVIEW.html">
            
                    
                    应用首页视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.21" data-path="../VIEWS/AppKanBanView.html">
            
                <a href="../VIEWS/AppKanBanView.html">
            
                    
                    应用看板视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.22" data-path="../VIEWS/ENTITYKANBANVIEW.html">
            
                <a href="../VIEWS/ENTITYKANBANVIEW.html">
            
                    
                    实体看板视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.23" data-path="../VIEWS/GANTTVIEW.html">
            
                <a href="../VIEWS/GANTTVIEW.html">
            
                    
                    实体甘特图视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.24" data-path="../VIEWS/ENTITYCHARTVIEW.html">
            
                <a href="../VIEWS/ENTITYCHARTVIEW.html">
            
                    
                    实体图表视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.25" data-path="../VIEWS/ENTITYDATASELECTVIEW.html">
            
                <a href="../VIEWS/ENTITYDATASELECTVIEW.html">
            
                    
                    实体数据选择视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.26" data-path="../VIEWS/ENTITYSELECTGRIDVIEW.html">
            
                <a href="../VIEWS/ENTITYSELECTGRIDVIEW.html">
            
                    
                    实体选择表格视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.27" data-path="../VIEWS/ENTITYSELECTTREEVIEW.html">
            
                <a href="../VIEWS/ENTITYSELECTTREEVIEW.html">
            
                    
                    实体选择树视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.28" data-path="../VIEWS/INDEXPICKUPDATAVIEW.html">
            
                <a href="../VIEWS/INDEXPICKUPDATAVIEW.html">
            
                    
                    实体索引关系选择视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.29" data-path="../VIEWS/ENTITYWORKFLOWTABLEEXPVIEW.html">
            
                <a href="../VIEWS/ENTITYWORKFLOWTABLEEXPVIEW.html">
            
                    
                    实体工作流动态导航表格视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.30" data-path="../VIEWS/ENTITYWORKFLOWEDITVIEW.html">
            
                <a href="../VIEWS/ENTITYWORKFLOWEDITVIEW.html">
            
                    
                    实体工作流动态编辑视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.31" data-path="../VIEWS/LOGINVIEW.html">
            
                <a href="../VIEWS/LOGINVIEW.html">
            
                    
                    应用登录视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.32" data-path="../VIEWS/DATAUPLOADVIEW.html">
            
                <a href="../VIEWS/DATAUPLOADVIEW.html">
            
                    
                    应用数据导入视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.33" data-path="../VIEWS/REDIRECTVIEW.html">
            
                <a href="../VIEWS/REDIRECTVIEW.html">
            
                    
                    实体数据重定向视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.34" data-path="../VIEWS/CUSTOM.html">
            
                <a href="../VIEWS/CUSTOM.html">
            
                    
                    实体自定义视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.35" data-path="../VIEWS/WIZARDVIEW.html">
            
                <a href="../VIEWS/WIZARDVIEW.html">
            
                    
                    实体向导视图
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.3" >
            
                <span>
            
                    
                    部件
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.3.1" data-path="../CTRLS/FORM.html">
            
                <a href="../CTRLS/FORM.html">
            
                    
                    表单
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.2" data-path="../CTRLS/GRID.html">
            
                <a href="../CTRLS/GRID.html">
            
                    
                    表格
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.3" data-path="../CTRLS/GRIDEXPBAR.html">
            
                <a href="../CTRLS/GRIDEXPBAR.html">
            
                    
                    表格导航
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.4" data-path="../CTRLS/SEARCHBAR.html">
            
                <a href="../CTRLS/SEARCHBAR.html">
            
                    
                    搜索栏
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.5" data-path="../CTRLS/SEARCHFORM.html">
            
                <a href="../CTRLS/SEARCHFORM.html">
            
                    
                    搜索表单
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.6" data-path="../CTRLS/DataKanBan.html">
            
                <a href="../CTRLS/DataKanBan.html">
            
                    
                    数据看板
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.7" data-path="../CTRLS/PortalComponents.html">
            
                <a href="../CTRLS/PortalComponents.html">
            
                    
                    门户部件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.8" data-path="../CTRLS/TABEXPPANEL.html">
            
                <a href="../CTRLS/TABEXPPANEL.html">
            
                    
                    分页导航面板
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.9" data-path="../CTRLS/TABVIEWPANEL.html">
            
                <a href="../CTRLS/TABVIEWPANEL.html">
            
                    
                    分页视图面板
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.10" data-path="../CTRLS/APPMENU.html">
            
                <a href="../CTRLS/APPMENU.html">
            
                    
                    应用菜单
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.11" data-path="../CTRLS/LIST.html">
            
                <a href="../CTRLS/LIST.html">
            
                    
                    列表
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.12" data-path="../CTRLS/LISTEXPBAR.html">
            
                <a href="../CTRLS/LISTEXPBAR.html">
            
                    
                    列表导航
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.13" data-path="../CTRLS/PANEL.html">
            
                <a href="../CTRLS/PANEL.html">
            
                    
                    面板
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.14" data-path="../CTRLS/DATAVIEWCTRL.html">
            
                <a href="../CTRLS/DATAVIEWCTRL.html">
            
                    
                    数据视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.15" data-path="../CTRLS/DATAVIEWEXPBAR.html">
            
                <a href="../CTRLS/DATAVIEWEXPBAR.html">
            
                    
                    卡片视图导航
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.16" data-path="../CTRLS/DataRelationPage.html">
            
                <a href="../CTRLS/DataRelationPage.html">
            
                    
                    数据关系分页
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.17" data-path="../CTRLS/DATARELATIONFIELD.html">
            
                <a href="../CTRLS/DATARELATIONFIELD.html">
            
                    
                    数据关系栏
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.18" data-path="../CTRLS/CALENDAR.html">
            
                <a href="../CTRLS/CALENDAR.html">
            
                    
                    日历部件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.19" data-path="../CTRLS/CALENDARTIMELINE.html">
            
                <a href="../CTRLS/CALENDARTIMELINE.html">
            
                    
                    日历部件(时间轴)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.20" data-path="../CTRLS/CALENDAREXPBAR.html">
            
                <a href="../CTRLS/CALENDAREXPBAR.html">
            
                    
                    日历导航
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.21" data-path="../CTRLS/TREEEXPBAR.html">
            
                <a href="../CTRLS/TREEEXPBAR.html">
            
                    
                    树导航
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.22" data-path="../CTRLS/TREEVIEWUNIT.html">
            
                <a href="../CTRLS/TREEVIEWUNIT.html">
            
                    
                    树视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.23" data-path="../CTRLS/TREEGRID.html">
            
                <a href="../CTRLS/TREEGRID.html">
            
                    
                    树表格
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.24" data-path="../CTRLS/MULTIEDITVIEWPANEL.html">
            
                <a href="../CTRLS/MULTIEDITVIEWPANEL.html">
            
                    
                    多编辑视图面板
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.25" data-path="../CTRLS/KANBANVIEWUNIT.html">
            
                <a href="../CTRLS/KANBANVIEWUNIT.html">
            
                    
                    看板视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.26" data-path="../CTRLS/GANTT.html">
            
                <a href="../CTRLS/GANTT.html">
            
                    
                    甘特图部件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.27" data-path="../CTRLS/DATACHART.html">
            
                <a href="../CTRLS/DATACHART.html">
            
                    
                    数据图表
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.28" data-path="../CTRLS/SELECTVIEWPANEL.html">
            
                <a href="../CTRLS/SELECTVIEWPANEL.html">
            
                    
                    选择视图面板
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.29" data-path="../CTRLS/WIZARDPANEL.html">
            
                <a href="../CTRLS/WIZARDPANEL.html">
            
                    
                    向导面板
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.30" data-path="../CTRLS/STATEWIZARDPANEL.html">
            
                <a href="../CTRLS/STATEWIZARDPANEL.html">
            
                    
                    状态向导面板
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.31" data-path="../CTRLS/CONTEXTMENU.html">
            
                <a href="../CTRLS/CONTEXTMENU.html">
            
                    
                    上下文菜单
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.32" data-path="../CTRLS/TOOLBAR.html">
            
                <a href="../CTRLS/TOOLBAR.html">
            
                    
                    工具栏
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.4" >
            
                <span>
            
                    
                    编辑器
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.4.1" data-path="BASIC.html">
            
                <a href="BASIC.html">
            
                    
                    基础类
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="2.4.2" data-path="SHOW.html">
            
                <a href="SHOW.html">
            
                    
                    展示类
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.4.3" data-path="SELECT.html">
            
                <a href="SELECT.html">
            
                    
                    选择类
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.4.4" data-path="TIME.html">
            
                <a href="TIME.html">
            
                    
                    时间类
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.4.5" data-path="FILEUPLOADlIST.html">
            
                <a href="FILEUPLOADlIST.html">
            
                    
                    文件上传类
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.4.6" data-path="DATASELECT.html">
            
                <a href="DATASELECT.html">
            
                    
                    数据选择类
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.4.7" data-path="AUTOCOMPLETELIST.html">
            
                <a href="AUTOCOMPLETELIST.html">
            
                    
                    自动填充类
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.5" >
            
                <span>
            
                    
                    逻辑
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.5.1" data-path="../LOGIC/APPFUNC.html">
            
                <a href="../LOGIC/APPFUNC.html">
            
                    
                    应用功能
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.5.2" data-path="../LOGIC/ACTION.html">
            
                <a href="../LOGIC/ACTION.html">
            
                    
                    界面行为
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.5.3" data-path="../LOGIC/VIEWLOGIC.html">
            
                <a href="../LOGIC/VIEWLOGIC.html">
            
                    
                    视图逻辑
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.6" >
            
                <span>
            
                    
                    UI服务
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.6.1" data-path="../UISERVICE/CTRLSERVICE.html">
            
                <a href="../UISERVICE/CTRLSERVICE.html">
            
                    
                    部件服务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.6.2" data-path="../UISERVICE/UISERVICE.html">
            
                <a href="../UISERVICE/UISERVICE.html">
            
                    
                    界面服务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.6.3" data-path="../UISERVICE/AUTHSERVICE.html">
            
                <a href="../UISERVICE/AUTHSERVICE.html">
            
                    
                    权限服务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.6.4" data-path="../UISERVICE/CODELISTSERVICE.html">
            
                <a href="../UISERVICE/CODELISTSERVICE.html">
            
                    
                    代码表服务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.6.5" data-path="../UISERVICE/COUNTERSERVICE.html">
            
                <a href="../UISERVICE/COUNTERSERVICE.html">
            
                    
                    计数器服务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.6.6" data-path="../UISERVICE/APPUTILSERVICE.html">
            
                <a href="../UISERVICE/APPUTILSERVICE.html">
            
                    
                    应用功能服务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.6.7" data-path="../UISERVICE/VIEWMESSAGESERVICE.html">
            
                <a href="../UISERVICE/VIEWMESSAGESERVICE.html">
            
                    
                    视图消息服务
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.7" >
            
                <span>
            
                    
                    数据服务
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.7.1" data-path="../DATASERVICE/DATASERVICE.html">
            
                <a href="../DATASERVICE/DATASERVICE.html">
            
                    
                    数据服务
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.8" data-path="../APPS/PROBLEM.html">
            
                <a href="../APPS/PROBLEM.html">
            
                    
                    常见问题
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >展示类</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x5C55;&#x793A;&#x7C7B;">&#x5C55;&#x793A;&#x7C7B;</h1>
<h2 id="&#x7F16;&#x8F91;&#x5668;">&#x7F16;&#x8F91;&#x5668;</h2>
<table>
<thead>
<tr>
<th>&#x7F16;&#x53F7;</th>
<th>&#x6807;&#x8BC6;</th>
<th>&#x540D;&#x79F0;</th>
<th>&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td>E130000</td>
<td>SPAN</td>
<td><a href="#&#x6807;&#x7B7E;">&#x6807;&#x7B7E;</a></td>
<td>&#x5C55;&#x793A;&#x4FE1;&#x606F;</td>
</tr>
<tr>
<td>E140000</td>
<td>RAW</td>
<td><a href="#&#x76F4;&#x63A5;&#x5185;&#x5BB9;">&#x76F4;&#x63A5;&#x5185;&#x5BB9;</a></td>
<td>&#x76F4;&#x63A5;&#x5C55;&#x793A;&#x8868;&#x5355;&#x9879;&#x503C;</td>
</tr>
</tbody>
</table>
<h2 id="&#x6269;&#x5C55;&#x63D2;&#x4EF6;">&#x6269;&#x5C55;&#x63D2;&#x4EF6;</h2>
<table>
<thead>
<tr>
<th>&#x7F16;&#x53F7;</th>
<th>&#x6269;&#x5C55;&#x6807;&#x8BC6;</th>
<th>&#x540D;&#x79F0;</th>
<th>&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td>E150000</td>
<td>CUSTOMAVUEFORM</td>
<td><a href="#page1">&#x7528;&#x6237;&#x81EA;&#x5B9A;&#x4E49;&#x52A8;&#x6001;&#x914D;&#x7F6E;AvueForm</a></td>
<td>&#x57FA;&#x4E8E;&#x7528;&#x6237;&#x81EA;&#x5B9A;&#x4E49;&#x7F16;&#x8F91;&#x5668;&#x8FDB;&#x884C;&#x6269;&#x5C55;</td>
</tr>
</tbody>
</table>
<h1 id="&#x7F16;&#x8F91;&#x5668;">&#x7F16;&#x8F91;&#x5668;</h1>
<h2 id="&#x6807;&#x7B7E;"><a href="https://modelapi.ibizlab.cn/#/net/ibizsys/model/control/editor/IPSSpan" target="_blank">&#x6807;&#x7B7E;</a></h2>
<p>&#x5C55;&#x793A;&#x4FE1;&#x606F;&#x3002;</p>
<h3 id="&#x5448;&#x73B0;&#x6548;&#x679C;">&#x5448;&#x73B0;&#x6548;&#x679C;</h3>
<p><img src="images/image-20200817213401978.png" alt="image-20200817213401978"></p>
<h4 id="&#x57FA;&#x7840;&#x7528;&#x6CD5;"><a href="http://demo.ibizlab.cn/ibizr7pfstdtempl/ibizvuer7res/tree/master/src/components/app-span" target="_blank">&#x57FA;&#x7840;&#x7528;&#x6CD5;</a></h4>
<h4 id="attributes">Attributes</h4>
<table>
<thead>
<tr>
<th>&#x7F16;&#x53F7;</th>
<th>&#x53C2;&#x6570;</th>
<th>&#x529F;&#x80FD;</th>
<th>&#x4F7F;&#x7528;&#x6A21;&#x578B;</th>
<th>&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td>E110001</td>
<td>value</td>
<td>&#x4F20;&#x5165;&#x503C;</td>
<td>&#x2014;&#x2014;&#x2014;</td>
<td>&#x7ED1;&#x5B9A;&#x8868;&#x5355;&#x9879;&#x6570;&#x636E;</td>
</tr>
<tr>
<td>E110002</td>
<td>disabled</td>
<td>&#x662F;&#x5426;&#x7981;&#x7528;</td>
<td>&#x2014;&#x2014;&#x2014;</td>
<td>&#x7ED1;&#x5B9A;&#x8868;&#x5355;&#x6A21;&#x578B;disabled&#x5C5E;&#x6027;</td>
</tr>
<tr>
<td>E110003</td>
<td>unitName</td>
<td>&#x5355;&#x4F4D;</td>
<td>getUnitName()</td>
<td>&#x8BA1;&#x91CF;&#x5355;&#x4F4D;</td>
</tr>
<tr>
<td>E110004</td>
<td>dataType</td>
<td>&#x6570;&#x636E;&#x7C7B;&#x578B;</td>
<td>getPSDEField()</td>
<td>&#x53C2;&#x89C1;&#x9AD8;&#x7EA7;&#x8FDB;&#x9636;&#x90E8;&#x5206;</td>
</tr>
<tr>
<td>E110005</td>
<td>precision</td>
<td>&#x7CBE;&#x5EA6;</td>
<td>getPSDEField()</td>
<td>&#x53C2;&#x89C1;&#x9AD8;&#x7EA7;&#x8FDB;&#x9636;&#x90E8;&#x5206;</td>
</tr>
<tr>
<td>E110006</td>
<td>valueFormat</td>
<td>&#x65E5;&#x671F;&#x683C;&#x5F0F;&#x5316;</td>
<td>getPSDEField()</td>
<td>&#x53C2;&#x89C1;&#x9AD8;&#x7EA7;&#x8FDB;&#x9636;&#x90E8;&#x5206;</td>
</tr>
<tr>
<td>E110007</td>
<td>editorType</td>
<td>&#x7F16;&#x8F91;&#x5668;&#x7C7B;&#x578B;</td>
<td>&#x2014;&#x2014;&#x2014;</td>
<td>&#x2014;&#x2014;&#x2014;</td>
</tr>
<tr>
<td>E110008</td>
<td>name</td>
<td>&#x8868;&#x5355;&#x9879;&#x540D;&#x79F0;</td>
<td>name</td>
<td>&#x2014;&#x2014;&#x2014;</td>
</tr>
<tr>
<td>E110009</td>
<td>tag</td>
<td>&#x4EE3;&#x7801;&#x8868;&#x6807;&#x8BC6;</td>
<td>getPSCodeList()</td>
<td>&#x53C2;&#x89C1;&#x9AD8;&#x7EA7;&#x8FDB;&#x9636;&#x90E8;&#x5206;</td>
</tr>
<tr>
<td>E110010</td>
<td>codelistType</td>
<td>&#x4EE3;&#x7801;&#x8868;&#x7C7B;&#x578B;</td>
<td>getPSCodeList()</td>
<td>&#x53C2;&#x89C1;&#x9AD8;&#x7EA7;&#x8FDB;&#x9636;&#x90E8;&#x5206;</td>
</tr>
<tr>
<td>E110011</td>
<td>renderMode</td>
<td>&#x591A;&#x9879;&#x4EE3;&#x7801;&#x8868;&#x6216;&#x6A21;&#x5F0F;</td>
<td>getPSCodeList()</td>
<td>&#x53C2;&#x89C1;&#x9AD8;&#x7EA7;&#x8FDB;&#x9636;&#x90E8;&#x5206;</td>
</tr>
<tr>
<td>E110012</td>
<td>textSeparator</td>
<td>&#x6587;&#x672C;&#x5206;&#x9694;&#x7B26;</td>
<td>getPSCodeList()</td>
<td>&#x53C2;&#x89C1;&#x9AD8;&#x7EA7;&#x8FDB;&#x9636;&#x90E8;&#x5206;</td>
</tr>
<tr>
<td>E110013</td>
<td>valueSeparator</td>
<td>&#x503C;&#x5206;&#x9694;&#x7B26;</td>
<td>getPSCodeList()</td>
<td>&#x53C2;&#x89C1;&#x9AD8;&#x7EA7;&#x8FDB;&#x9636;&#x90E8;&#x5206;</td>
</tr>
<tr>
<td>E110014</td>
<td>data</td>
<td>&#x8868;&#x5355;&#x6570;&#x636E;</td>
<td>&#x2014;&#x2014;&#x2014;</td>
<td>&#x7ED1;&#x5B9A;&#x8868;&#x5355;&#x6570;&#x636E;&#x6570;&#x636E;</td>
</tr>
<tr>
<td>E110015</td>
<td>localContext</td>
<td>&#x5C40;&#x90E8;&#x4E0A;&#x4E0B;&#x6587;&#x5BFC;&#x822A;&#x53C2;&#x6570;</td>
<td>getPSNavigateContexts()</td>
<td>&#x53C2;&#x89C1;&#x9AD8;&#x7EA7;&#x8FDB;&#x9636;&#x90E8;&#x5206;</td>
</tr>
<tr>
<td>E110016</td>
<td>localParam</td>
<td>&#x5C40;&#x90E8;&#x5BFC;&#x822A;&#x53C2;&#x6570;</td>
<td>getPSNavigateParams()</td>
<td>&#x53C2;&#x89C1;&#x9AD8;&#x7EA7;&#x8FDB;&#x9636;&#x90E8;&#x5206;</td>
</tr>
<tr>
<td>E110017</td>
<td>context</td>
<td>&#x89C6;&#x56FE;&#x4E0A;&#x4E0B;&#x6587;</td>
<td>&#x2014;&#x2014;&#x2014;</td>
<td>&#x7ED1;&#x5B9A;&#x8868;&#x5355;context&#x5C5E;&#x6027;</td>
</tr>
<tr>
<td>E110018</td>
<td>viewparams</td>
<td>&#x89C6;&#x56FE;&#x53C2;&#x6570;</td>
<td>&#x2014;&#x2014;&#x2014;</td>
<td>&#x7ED1;&#x5B9A;&#x8868;&#x5355;viewparams&#x5C5E;&#x6027;</td>
</tr>
<tr>
<td>E110019</td>
<td>&#x2014;&#x2014;&#x2014;</td>
<td>&#x81EA;&#x5B9A;&#x4E49;&#x7ED8;&#x5236;&#x63D2;&#x4EF6;</td>
<td>getRender()</td>
<td>&#x7ED8;&#x5236;&#x63D2;&#x4EF6;&#xFF0C;&#x8BE6;&#x89C1;&#x5FEB;&#x901F;&#x4ECB;&#x5165;</td>
</tr>
</tbody>
</table>
<h3 id="&#x9AD8;&#x7EA7;&#x8FDB;&#x9636;">&#x9AD8;&#x7EA7;&#x8FDB;&#x9636;</h3>
<table>
<thead>
<tr>
<th>&#x7F16;&#x53F7;</th>
<th>&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td>E110004</td>
<td>&#x8BE5;&#x7F16;&#x8F91;&#x5668;&#x6620;&#x5C04;&#x7684;&#x5B9E;&#x4F53;&#x5C5E;&#x6027;&#x6570;&#x636E;&#x7C7B;&#x578B;</td>
</tr>
<tr>
<td>E110005</td>
<td>&#x5F53;&#x8BE5;&#x7F16;&#x8F91;&#x5668;&#x6620;&#x5C04;&#x7684;&#x5B9E;&#x4F53;&#x5C5E;&#x6027;&#x6570;&#x636E;&#x7C7B;&#x578B;&#x4E3A;&#x5927;&#x6D6E;&#x70B9;&#xFF0C;&#x6570;&#x503C;&#xFF0C;&#x5927;&#x6570;&#x503C;&#x7C7B;&#x578B;&#x65F6;&#xFF0C;&#x5982;&#x672A;&#x914D;&#x7F6E;&#x7CBE;&#x5EA6;&#xFF0C;&#x9ED8;&#x8BA4;2&#x4F4D;&#xFF0C;&#x82E5;&#x914D;&#x7F6E;&#x4E86;&#x7CBE;&#x5EA6;&#xFF0C;&#x4EE5;&#x914D;&#x7F6E;&#x7684;&#x7CBE;&#x5EA6;&#x4E3A;&#x51C6;&#x3002;</td>
</tr>
<tr>
<td>E110006</td>
<td>&#x8BE5;&#x7F16;&#x8F91;&#x5668;&#x6620;&#x5C04;&#x7684;&#x5B9E;&#x4F53;&#x5C5E;&#x6027;&#x503C;&#x683C;&#x5F0F;&#x5316;</td>
</tr>
<tr>
<td>E110009</td>
<td>&#x8BE5;&#x7F16;&#x8F91;&#x5668;&#x6620;&#x5C04;&#x7684;&#x7CFB;&#x7EDF;&#x4EE3;&#x7801;&#x8868;&#x540D;</td>
</tr>
<tr>
<td>E110010</td>
<td>&#x8BE5;&#x7F16;&#x8F91;&#x5668;&#x6620;&#x5C04;&#x7684;&#x7CFB;&#x7EDF;&#x4EE3;&#x7801;&#x8868;&#x7C7B;&#x578B;</td>
</tr>
<tr>
<td>E110011</td>
<td>&#x8BE5;&#x7F16;&#x8F91;&#x5668;&#x6620;&#x5C04;&#x7684;&#x7CFB;&#x7EDF;&#x4EE3;&#x7801;&#x8868;&#x591A;&#x9879;&#x4EE3;&#x7801;&#x8868;&#x6216;&#x6A21;&#x5F0F;</td>
</tr>
<tr>
<td>E110012</td>
<td>&#x8BE5;&#x7F16;&#x8F91;&#x5668;&#x6620;&#x5C04;&#x7684;&#x7CFB;&#x7EDF;&#x4EE3;&#x7801;&#x8868;&#x6587;&#x672C;&#x5206;&#x9694;&#x7B26;</td>
</tr>
<tr>
<td>E110013</td>
<td>&#x8BE5;&#x7F16;&#x8F91;&#x5668;&#x6620;&#x5C04;&#x7684;&#x7CFB;&#x7EDF;&#x4EE3;&#x7801;&#x8868;&#x503C;&#x5206;&#x9694;&#x7B26;</td>
</tr>
<tr>
<td>E110015</td>
<td>&#x8BE5;&#x7F16;&#x8F91;&#x5668;&#x6620;&#x5C04;&#x7684;&#x5BFC;&#x822A;&#x4E0A;&#x4E0B;&#x6587;&#x96C6;&#x5408;</td>
</tr>
<tr>
<td>E110016</td>
<td>&#x8BE5;&#x7F16;&#x8F91;&#x5668;&#x6620;&#x5C04;&#x7684;&#x5BFC;&#x822A;&#x53C2;&#x6570;&#x96C6;&#x5408;</td>
</tr>
</tbody>
</table>
<h3 id="&#x6269;&#x5C55;&#x63D2;&#x4EF6;">&#x6269;&#x5C55;&#x63D2;&#x4EF6;</h3>
<table>
<thead>
<tr>
<th>&#x7F16;&#x53F7;</th>
<th>&#x529F;&#x80FD;</th>
<th>&#x6269;&#x5C55;&#x6807;&#x8BC6;</th>
<th>&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td>E110021</td>
<td>&#x6807;&#x7B7E;&#xFF08;&#x683C;&#x5F0F;&#x5316;&#x4FE1;&#x606F;&#xFF09;</td>
<td>HTML</td>
<td>&#x6269;&#x5C55;&#x6807;&#x7B7E;&#x63D2;&#x4EF6;&#xFF0C;&#x4F7F;&#x7528;v-html&#x5C55;&#x793A;&#x5BF9;&#x5E94;&#x8868;&#x5355;&#x9879;&#x5185;&#x5BB9;</td>
</tr>
</tbody>
</table>
<h3 id="&#x7EC4;&#x4EF6;&#x6838;&#x5FC3;&#x903B;&#x8F91;">&#x7EC4;&#x4EF6;&#x6838;&#x5FC3;&#x903B;&#x8F91;</h3>
<p>1&#x3001;&#x7EC4;&#x4EF6;&#x52A0;&#x8F7D;&#xFF0C;&#x7EC4;&#x4EF6;&#x521B;&#x5EFA;&#x65F6;&#x5BF9;&#x6570;&#x636E;&#x8FDB;&#x884C;&#x5904;&#x7406;&#xFF0C;&#x5224;&#x65AD;&#x5177;&#x4F53;&#x7684;&#x7F16;&#x8F91;&#x5668;&#x7C7B;&#x578B;&#x3002;</p>
<pre><code class="lang-typescript">    <span class="hljs-comment">/**
     * &#x5904;&#x7406;&#x6570;&#x636E;
     * 
     * @memberof AppSpan
     */</span>
    <span class="hljs-keyword">public</span> load(){
        <span class="hljs-keyword">if</span>(<span class="hljs-keyword">this</span>.tag){
            <span class="hljs-keyword">return</span>;  <span class="hljs-comment">//&#x4EE3;&#x7801;&#x8868;&#x8D70;codelist&#x7EC4;&#x4EF6;</span>
        }<span class="hljs-keyword">else</span> <span class="hljs-keyword">if</span>(<span class="hljs-keyword">this</span>.editorType === <span class="hljs-string">&quot;ADDRESSPICKUP&quot;</span>){
            <span class="hljs-keyword">if</span>(<span class="hljs-keyword">this</span>.$util.isEmpty(<span class="hljs-keyword">this</span>.value)){
                <span class="hljs-keyword">this</span>.text = <span class="hljs-string">&apos;&apos;</span>;
            }<span class="hljs-keyword">else</span>{
                <span class="hljs-built_in">JSON</span>.parse(<span class="hljs-keyword">this</span>.value).forEach((item:<span class="hljs-built_in">any</span>,index:<span class="hljs-built_in">number</span>) =&gt; {
                  <span class="hljs-keyword">this</span>.text += index === <span class="hljs-number">0</span> ? item.srfmajortext : <span class="hljs-string">&quot;,&quot;</span>+item.srfmajortext;
                });
            }
        }<span class="hljs-keyword">else</span>{
            <span class="hljs-keyword">if</span>(<span class="hljs-keyword">this</span>.$util.isEmpty(<span class="hljs-keyword">this</span>.value)){
                <span class="hljs-keyword">this</span>.text = <span class="hljs-string">&apos;&apos;</span>;
            }<span class="hljs-keyword">else</span> <span class="hljs-keyword">if</span>(<span class="hljs-keyword">this</span>.dataType){
                <span class="hljs-keyword">this</span>.dataFormat();
            }<span class="hljs-keyword">else</span>{
                <span class="hljs-keyword">this</span>.text = <span class="hljs-keyword">this</span>.value;
            }

        }
    }
</code></pre>
<p>2&#x3001;&#x6570;&#x636E;&#x683C;&#x5F0F;&#x5316;&#xFF0C;&#x5F53;&#x6570;&#x636E;&#x7C7B;&#x578B;&#x4E3A;&#x8D27;&#x5E01;&#x3001;&#x6D6E;&#x70B9;&#x3001;&#x6570;&#x503C;&#x65F6;&#x5BF9;&#x6570;&#x636E;&#x8FDB;&#x884C;&#x683C;&#x5F0F;&#x5316;&#x3002;</p>
<pre><code class="lang-typescript">    <span class="hljs-comment">/**
     * &#x6570;&#x636E;&#x683C;&#x5F0F;&#x5316;
     * 
     * @memberof AppSpan
     */</span>
    <span class="hljs-keyword">public</span> dataFormat(){
        <span class="hljs-keyword">if</span>(<span class="hljs-keyword">this</span>.valueFormat){
            <span class="hljs-keyword">this</span>.dateFormat() ;
            <span class="hljs-keyword">return</span>;
        }
        <span class="hljs-keyword">if</span>(<span class="hljs-built_in">Object</span>.is(<span class="hljs-keyword">this</span>.dataType,<span class="hljs-string">&quot;CURRENCY&quot;</span>)){
            <span class="hljs-keyword">let</span> <span class="hljs-built_in">number</span>:<span class="hljs-built_in">any</span> = <span class="hljs-built_in">Number</span>(<span class="hljs-keyword">this</span>.value); 
            <span class="hljs-keyword">this</span>.text = <span class="hljs-built_in">Number</span>(<span class="hljs-built_in">number</span>.toFixed(<span class="hljs-keyword">this</span>.precision)).toLocaleString(<span class="hljs-string">&apos;en-US&apos;</span>)+ <span class="hljs-string">&apos; &apos;</span>+ <span class="hljs-keyword">this</span>.unitName;   
        }<span class="hljs-keyword">else</span> <span class="hljs-keyword">if</span>(<span class="hljs-built_in">Object</span>.is(<span class="hljs-keyword">this</span>.dataType,<span class="hljs-string">&quot;FLOAT&quot;</span>) || <span class="hljs-built_in">Object</span>.is(<span class="hljs-keyword">this</span>.dataType,<span class="hljs-string">&quot;DECIMAL&quot;</span>)){
            <span class="hljs-keyword">let</span> <span class="hljs-built_in">number</span>:<span class="hljs-built_in">any</span> = <span class="hljs-built_in">Number</span>(<span class="hljs-keyword">this</span>.value);
            <span class="hljs-keyword">const</span> decimalCnt:<span class="hljs-built_in">number</span> = <span class="hljs-keyword">this</span>.value.toString().split(<span class="hljs-string">&apos;.&apos;</span>).length &gt; <span class="hljs-number">1</span> ? <span class="hljs-keyword">this</span>.value.toString().split(<span class="hljs-string">&apos;.&apos;</span>)[<span class="hljs-number">1</span>].length : <span class="hljs-number">0</span>;
            <span class="hljs-keyword">this</span>.text = (<span class="hljs-built_in">Number</span>(<span class="hljs-keyword">this</span>.precision) === <span class="hljs-number">0</span> &amp;&amp; decimalCnt !== <span class="hljs-number">0</span>) ? <span class="hljs-built_in">number</span>.toFixed(decimalCnt) : <span class="hljs-built_in">number</span>.toFixed(<span class="hljs-keyword">this</span>.precision);
        }<span class="hljs-keyword">else</span> {
            <span class="hljs-keyword">this</span>.text = <span class="hljs-keyword">this</span>.value;
        }
    }
</code></pre>
<p>3&#x3001;&#x65E5;&#x671F;&#x683C;&#x5F0F;&#x5316;&#x3002;</p>
<pre><code class="lang-typescript">    <span class="hljs-comment">/**
     * &#x65E5;&#x671F;&#x683C;&#x5F0F;&#x5316;
     * 
     * @memberof AppSpan
     */</span>
    <span class="hljs-keyword">public</span> dateFormat(){
        <span class="hljs-keyword">if</span>(<span class="hljs-keyword">this</span>.valueFormat){
            <span class="hljs-keyword">if</span>(<span class="hljs-keyword">this</span>.valueFormat.indexOf(<span class="hljs-string">&apos;%1$t&apos;</span>) !== <span class="hljs-number">-1</span>){
                <span class="hljs-keyword">this</span>.text= moment(<span class="hljs-keyword">this</span>.data).format(<span class="hljs-string">&quot;YYYY-MM-DD HH:mm:ss&quot;</span>);
            }<span class="hljs-keyword">else</span> <span class="hljs-keyword">if</span>(<span class="hljs-keyword">this</span>.valueFormat.indexOf(<span class="hljs-string">&apos;%1$s&apos;</span>) == <span class="hljs-number">-1</span>){
                <span class="hljs-keyword">this</span>.text= moment(<span class="hljs-keyword">this</span>.data).format(<span class="hljs-keyword">this</span>.valueFormat);
            }<span class="hljs-keyword">else</span>{
                <span class="hljs-keyword">this</span>.text= <span class="hljs-keyword">this</span>.value;
            }
        }
    }
</code></pre>
<h2 id="&#x76F4;&#x63A5;&#x5185;&#x5BB9;">&#x76F4;&#x63A5;&#x5185;&#x5BB9;</h2>
<p>&#x76F4;&#x63A5;&#x5C55;&#x793A;&#x8868;&#x5355;&#x9879;&#x7684;&#x503C;&#xFF0C;&#x5728;&#x4E00;&#x4E2A;div&#x5BB9;&#x5668;&#x4E2D;&#x76F4;&#x63A5;&#x8F93;&#x51FA;&#x8868;&#x5355;&#x9879;&#x7684;&#x503C;&#x3002;</p>
<h3 id="&#x5448;&#x73B0;&#x6548;&#x679C;">&#x5448;&#x73B0;&#x6548;&#x679C;</h3>
<p><img src="images/image-20200924104437014.png" alt="image-20200924104437014"></p>
<h1 id="&#x6269;&#x5C55;&#x63D2;&#x4EF6;">&#x6269;&#x5C55;&#x63D2;&#x4EF6;</h1>
<h2 id="&#x7528;&#x6237;&#x81EA;&#x5B9A;&#x4E49;&#x52A8;&#x6001;&#x914D;&#x7F6E;avueform">&#x7528;&#x6237;&#x81EA;&#x5B9A;&#x4E49;&#x52A8;&#x6001;&#x914D;&#x7F6E;AvueForm<div id="page1"></div></h2>
<p>&#x8BE5;&#x7EC4;&#x4EF6;&#x4E3A;&#x7528;&#x6237;&#x81EA;&#x5B9A;&#x4E49;&#x63D2;&#x4EF6;&#x7684;&#x6269;&#x5C55;&#x7EC4;&#x4EF6;,&#x6269;&#x5C55;&#x6807;&#x8BC6;&#x4E3A;CUSTOMAVUEFORM&#x3002;</p>
<p>&#x901A;&#x8FC7;&#x7F16;&#x8F91;&#x5668;&#x53C2;&#x6570;&#x52A8;&#x6001;&#x914D;&#x7F6E;&#x5B50;&#x8868;&#x5355;&#xFF0C;&#x7EC4;&#x4EF6;&#x4F9D;&#x8D56;avue&#x6846;&#x67B6;&#x3002;</p>
<p>&#x53EF;&#x4EE5;&#x901A;&#x8FC7;&#x7F16;&#x8F91;&#x5668;&#x53C2;&#x6570;&#x76F4;&#x63A5;&#x914D;&#x7F6E;options&#xFF0C;&#x4E5F;&#x53EF;&#x4EE5;&#x901A;&#x8FC7;url&#x4ECE;&#x8FDC;&#x7AEF;&#x83B7;&#x53D6;options&#xFF0C;&#x5982;&#x679C;&#x90FD;&#x6CA1;&#x6709;&#x914D;&#x7F6E;&#xFF0C;&#x4F1A;&#x7ED9;&#x4E00;&#x4E2A;&#x914D;&#x7F6E;&#x3002;</p>
<h3 id="&#x5448;&#x73B0;&#x6548;&#x679C;">&#x5448;&#x73B0;&#x6548;&#x679C;</h3>
<p><img src="images/image-20200912170847039.png" alt="image-20200912170847039"></p>
<h3 id="&#x57FA;&#x7840;&#x7528;&#x6CD5;"><a href="http://demo.ibizlab.cn/ibizr7pfstdtempl/ibizvuer7res/tree/master/src/components/avue-custom-form" target="_blank">&#x57FA;&#x7840;&#x7528;&#x6CD5;</a></h3>
<h4 id="attributes">Attributes</h4>
<table>
<thead>
<tr>
<th>&#x7F16;&#x53F7;</th>
<th>&#x53C2;&#x6570;</th>
<th>&#x529F;&#x80FD;</th>
<th>&#x6A21;&#x578B;</th>
<th>&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td>E150001</td>
<td>value</td>
<td>&#x5F53;&#x524D;&#x5C5E;&#x6027;&#x503C;</td>
<td>&#x2014;&#x2014;&#x2014;</td>
<td>&#x7ED1;&#x5B9A;&#x8868;&#x5355;&#x9879;&#x503C;</td>
</tr>
<tr>
<td>E150002</td>
<td>isParseString</td>
<td>&#x5B50;&#x8868;&#x5355;&#x503C;&#x662F;&#x5426;&#x8F6C;&#x4E3A;JSON&#x65B9;&#x5F0F;&#x83B7;&#x53D6;&#x4E0E;&#x56DE;&#x8C03;</td>
<td>&#x2014;&#x2014;&#x2014;</td>
<td>&#x9ED8;&#x8BA4;&#x4E3A;false</td>
</tr>
<tr>
<td>E150003</td>
<td>formData</td>
<td>&#x8868;&#x5355;&#x6570;&#x636E;</td>
<td>&#x2014;&#x2014;&#x2014;</td>
<td>&#x7ED1;&#x5B9A;&#x8868;&#x5355;&#x6570;&#x636E;data</td>
</tr>
<tr>
<td>E150004</td>
<td>formState</td>
<td>&#x8868;&#x5355;&#x72B6;&#x6001;</td>
<td>&#x2014;&#x2014;&#x2014;</td>
<td>&#x7ED1;&#x5B9A;&#x8868;&#x5355;&#x72B6;&#x6001;formState</td>
</tr>
<tr>
<td>E150005</td>
<td>option</td>
<td>&#x7EC4;&#x4EF6;&#x914D;&#x7F6E;&#x9879;&#xFF0C;&#x6839;&#x636E;&#x6B64;&#x914D;&#x7F6E;&#x9879;&#x751F;&#x6210;&#x5B50;&#x8868;&#x5355;&#x3002;</td>
<td>getEditorParam(&apos;options&apos;,&apos;&apos;)</td>
<td>&#x8BE6;&#x89C1;&#x9AD8;&#x7EA7;&#x8FDB;&#x9636;</td>
</tr>
<tr>
<td>E150006</td>
<td>url</td>
<td>&#x8FDC;&#x7AEF;&#x83B7;&#x53D6;options&#x914D;&#x7F6E;&#x5730;&#x5740;</td>
<td>getEditorParam(&apos;url&apos;,&apos;&apos;)</td>
<td>&#x8BE6;&#x89C1;&#x9AD8;&#x7EA7;&#x8FDB;&#x9636;</td>
</tr>
<tr>
<td>E150007</td>
<td>isFormData</td>
<td>&#x662F;&#x5426;&#x5C06;form&#x6570;&#x636E;&#x6839;&#x636E;&#x5230;&#x5B50;&#x8868;&#x5355;&#x4E2D;</td>
<td>getEditorParam(&apos;isFormData&apos;,&apos;&apos;)</td>
<td>&#x8BE6;&#x89C1;&#x9AD8;&#x7EA7;&#x8FDB;&#x9636;</td>
</tr>
</tbody>
</table>
<h4 id="events">Events</h4>
<table>
<thead>
<tr>
<th>&#x7F16;&#x53F7;</th>
<th>&#x53C2;&#x6570;</th>
<th>&#x529F;&#x80FD;</th>
<th>&#x56DE;&#x8C03;&#x53C2;&#x6570;</th>
</tr>
</thead>
<tbody>
<tr>
<td>E150008</td>
<td>change</td>
<td>&#x503C;&#x6539;&#x53D8;&#x65F6;&#x89E6;&#x53D1;</td>
<td>(value: string)</td>
</tr>
</tbody>
</table>
<h3 id="&#x9AD8;&#x7EA7;&#x8FDB;&#x9636;">&#x9AD8;&#x7EA7;&#x8FDB;&#x9636;</h3>
<table>
<thead>
<tr>
<th>&#x7F16;&#x53F7;</th>
<th>&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td>E150005</td>
<td>&#x7F16;&#x8F91;&#x5668;&#x53C2;&#x6570;&#x683C;&#x5F0F;&#x4E3A;option=xxx</td>
</tr>
<tr>
<td>E150006</td>
<td>&#x7F16;&#x8F91;&#x5668;&#x53C2;&#x6570;&#x683C;&#x5F0F;&#x4E3A;url=xxx/xxxx/xxx</td>
</tr>
<tr>
<td>E150007</td>
<td>&#x7F16;&#x8F91;&#x5668;&#x53C2;&#x6570;&#x683C;&#x5F0F;&#x4E3A;isFormData=xxx,&#x53EA;&#x8981;&#x4E0D;&#x4E3A;&#x7A7A;&#x5373;&#x4E3A;true,&#x5426;&#x5219;&#x4E3A;false</td>
</tr>
</tbody>
</table>
<h3 id="&#x7EC4;&#x4EF6;&#x6838;&#x5FC3;&#x903B;&#x8F91;">&#x7EC4;&#x4EF6;&#x6838;&#x5FC3;&#x903B;&#x8F91;</h3>
<p>1&#x3001;&#x8868;&#x5355;&#x72B6;&#x6001;&#x4F20;&#x9012;&#xFF0C;&#x52A0;&#x8F7D;&#x914D;&#x7F6E;&#xFF0C;&#x8868;&#x5355;&#x72B6;&#x6001;&#x4E0B;&#x53D1;&#x901A;&#x77E5; load &#x884C;&#x4E3A;&#xFF0C;&#x7F16;&#x8F91;&#x5668;&#x6267;&#x884C;load&#x65B9;&#x6CD5;&#x3002;&#x5F53;&#x5B58;&#x5728;&#x8FDC;&#x7AEF;&#x5730;&#x5740;&#x65F6;&#x5411;&#x540E;&#x53F0;&#x53D1;&#x9001;&#x8BF7;&#x6C42;&#x83B7;&#x53D6;&#x6570;&#x636E;&#x3002;</p>
<pre><code class="lang-typescript">  <span class="hljs-comment">/**
   * vue&#x751F;&#x547D;&#x5468;&#x671F;
   *
   * @memberof AvueCustomForm
   */</span>
  <span class="hljs-keyword">public</span> mounted() {
    <span class="hljs-keyword">let</span> that: <span class="hljs-built_in">any</span> = <span class="hljs-keyword">this</span>;
    <span class="hljs-keyword">if</span> (<span class="hljs-keyword">this</span>.formState) {
      <span class="hljs-keyword">this</span>.formStateEvent = <span class="hljs-keyword">this</span>.formState.subscribe(({ <span class="hljs-keyword">type</span>, data }) =&gt; {
        <span class="hljs-keyword">if</span> (<span class="hljs-built_in">Object</span>.is(<span class="hljs-string">&quot;load&quot;</span>, <span class="hljs-keyword">type</span>)) that.load();
      });
    }
  }

<span class="hljs-comment">/**
   * &#x52A0;&#x8F7D;&#x8868;&#x5355;&#x914D;&#x7F6E;,&#x914D;&#x7F6E;&#x4F18;&#x5148;&#x7EA7;,&#x4F9D;&#x6B21;&#x6309;&#x4F18;&#x5148;&#x7EA7;&#x52A0;&#x8F7D;(&#x8868;&#x5355;&#x9879;&#x503C;  &gt;   &#x8FDC;&#x7AEF;&#x8BF7;&#x6C42;  &gt;   &#x9ED8;&#x8BA4;&#x503C;)
   *
   * @memberof AvueCustomForm
   */</span>
  <span class="hljs-keyword">public</span> load() {
    <span class="hljs-keyword">let</span> that: <span class="hljs-built_in">any</span> = <span class="hljs-keyword">this</span>;
    <span class="hljs-keyword">if</span> (!<span class="hljs-keyword">this</span>.options &amp;&amp; <span class="hljs-keyword">this</span>.options == <span class="hljs-literal">null</span>) {
      <span class="hljs-keyword">if</span> (<span class="hljs-keyword">this</span>.url &amp;&amp; <span class="hljs-keyword">this</span>.options == <span class="hljs-literal">null</span>) {
        <span class="hljs-keyword">const</span> <span class="hljs-keyword">get</span>: Promise&lt;<span class="hljs-built_in">any</span>&gt; = <span class="hljs-keyword">this</span>.$http.get(<span class="hljs-keyword">this</span>.url);
        <span class="hljs-keyword">get</span>.then((response: <span class="hljs-built_in">any</span>) =&gt; {
          <span class="hljs-keyword">if</span> (response &amp;&amp; response.data &amp;&amp; response.data.view_config) {
            that.formOption = <span class="hljs-built_in">JSON</span>.parse(response.data.view_config)[
              <span class="hljs-string">&quot;formConfig&quot;</span>
            ];
            <span class="hljs-keyword">if</span> (<span class="hljs-keyword">this</span>.isFormData) that.getFormData();
          }
        });
      } <span class="hljs-keyword">else</span> {
        <span class="hljs-keyword">this</span>.formOption = <span class="hljs-keyword">this</span>.defaultOptions;
        <span class="hljs-keyword">if</span> (<span class="hljs-keyword">this</span>.isFormData) that.getFormData();
      }
    } <span class="hljs-keyword">else</span> {
      <span class="hljs-keyword">this</span>.formOption = <span class="hljs-keyword">this</span>.options;
      <span class="hljs-keyword">if</span> (<span class="hljs-keyword">this</span>.isFormData) that.getFormData();
    }
  }
</code></pre>
<p>2&#x3001;&#x5C06;&#x8868;&#x5355;&#x6570;&#x636E;&#x901A;&#x8FC7;&#x7EC4;&#x4EF6;&#x914D;&#x7F6E;&#x5E26;&#x5165;&#x7EC4;&#x4EF6;&#x3002;</p>
<pre><code class="lang-typescript">  <span class="hljs-comment">/**
   * &#x5F53;&#x7EC4;&#x4EF6;&#x914D;&#x7F6E;&#x4E2D;&#x7684;&#x5C5E;&#x6027;&#x4E0E;&#x8868;&#x5355;&#x5C5E;&#x6027;&#x91CD;&#x590D;&#x65F6;,&#x8868;&#x5355;&#x503C;&#x585E;&#x5165;&#x7EC4;&#x4EF6;&#x4E2D;
   *
   * @memberof AvueCustomForm
   */</span>
  <span class="hljs-keyword">public</span> getFormData() {
    <span class="hljs-keyword">let</span> that: <span class="hljs-built_in">any</span> = <span class="hljs-keyword">this</span>;
    <span class="hljs-keyword">let</span> obj: <span class="hljs-built_in">any</span>;
    <span class="hljs-keyword">if</span> (<span class="hljs-keyword">this</span>.value) obj = <span class="hljs-built_in">JSON</span>.parse(<span class="hljs-built_in">JSON</span>.stringify(<span class="hljs-keyword">this</span>.value));
    <span class="hljs-keyword">else</span> obj = {};
    <span class="hljs-keyword">let</span> recursionOption: <span class="hljs-built_in">any</span> = <span class="hljs-function"><span class="hljs-keyword">function</span> (<span class="hljs-params">group: <span class="hljs-built_in">any</span></span>) </span>{
      group.column.forEach((gItem: <span class="hljs-built_in">any</span>) =&gt; {
        <span class="hljs-keyword">if</span> (group.column &amp;&amp; group.column.length &gt; <span class="hljs-number">0</span>) {
          <span class="hljs-keyword">if</span> (that.formData[gItem.prop])
            obj[gItem.prop] = that.formData[gItem.prop];
        }
      });
      <span class="hljs-keyword">if</span> (group.group &amp;&amp; group.group.length &gt; <span class="hljs-number">0</span>)
        group.group.forEach((gItem: <span class="hljs-built_in">any</span>) =&gt; {
          recursionOption(gItem);
        });
    };
    recursionOption(<span class="hljs-keyword">this</span>.formOption);
    <span class="hljs-keyword">this</span>.setValue(obj);
  }
</code></pre>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="BASIC.html" class="navigation navigation-prev " aria-label="Previous page: 基础类">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="SELECT.html" class="navigation navigation-next " aria-label="Next page: 选择类">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"展示类","level":"2.4.2","depth":2,"next":{"title":"选择类","level":"2.4.3","depth":2,"path":"EDITORS/SELECT.md","ref":"./EDITORS/SELECT.md","articles":[]},"previous":{"title":"基础类","level":"2.4.1","depth":2,"path":"EDITORS/BASIC.md","ref":"./EDITORS/BASIC.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":[],"pluginsConfig":{"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"EDITORS/SHOW.md","mtime":"2020-10-27T06:11:11.682Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-11-02T06:38:45.289Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

